package com.swagger.wen.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by Think on 2018/6/16.
 */
@Data
@Entity
@Table(name = "CUSTOMER")
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "cusid",nullable = false,unique = true)
    private Integer cusid;

    @Column(name = "gender")
    private String gender;
}
